package com.cxs.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * @Project: spring-mvc-mybatis-demo
 * @Author: cxs2014501@163.com
 * @Create: 2022/11/11 11:20
 * @Description:
 **/
@Controller
public class BaseController {

    @GetMapping("/login")
    public ModelAndView login(ModelAndView mv){
        mv.setViewName("login");
        return mv;
    }
}
